package com.cskaoyan.vo.stat;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Date;

/**
 * description:StatOrderVo的rows的list成员变量的类型
 *
 * amount : 4989 订单总额
 * orders : 4  订单量
 * customers : 3  下单用户
 * day : 2020-04-27 当天时间
 * pcr : 1663  客单价
 *
 * author:houzhitao@139.com
 */
@Data
public class StatOrderSonRowsVo {
    private BigDecimal amount;
    private int orders;
    private int customers;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date day;
    private BigDecimal pcr;
}
